$OpenBSD: patch-lib_ivis_opengl_screen_cpp,v 1.1 2015/05/07 22:43:15 ajacoutot Exp $

Fix with glew>=1.12.0

--- lib/ivis_opengl/screen.cpp.orig	Thu Dec 12 03:20:34 2013
+++ lib/ivis_opengl/screen.cpp	Fri May  8 00:38:23 2015
@@ -261,7 +261,7 @@ void screen_EnableMissingFunctions()
 		__glewUseProgram = __glewUseProgramObjectARB;
 		__glewGetShaderiv = __glewGetObjectParameterivARB;
 		__glewLinkProgram = __glewLinkProgramARB;
-		__glewShaderSource = __glewShaderSourceARB;
+		__glewShaderSource = reinterpret_cast<PFNGLSHADERSOURCEPROC>(__glewShaderSourceARB);
 		__glewUniform1f = __glewUniform1fARB;
 		__glewUniform1i = __glewUniform1iARB;
 		__glewUniform4fv = __glewUniform4fvARB;
